/**
 *
 *
 * 大数据模块
 *
 * */

import {getData} from "../request"

/**
 * /api/Cockpit/GetEquUtilization 产能(设备利用率)线形图
 *
 * */
export const get_Equ_Utilization = (params = {}) => {
    return getData("/api/Cockpit/GetEquUtilization", "POST", params, "data")
}

/**
 * /api/Cockpit/GetStatuDistribution 设备状态分布统计
 *
 * */
export const get_status_distribution = (params = {}) => {
    return getData("/api/Cockpit/GetStatuDistribution", "POST", params, "data")
}

/**
 * /api/Cockpit/GetWorkHourOrder 设备日工作时长排序
 *
 * */
export const get_work_hour_order = (params = {}) => {
    return getData("/api/Cockpit/GetWorkHourOrder", "POST", params, "data")
}

/**
 * /api/Cockpit/GetCountdown 设备维保倒计时
 *
 * */
export const get_count_down = (params = {}) => {
    return getData("/api/Cockpit/GetCountdown", "POST", params, "data")
}

/**
 * /api/Cockpit/GetExceptionData 昨天设备焊接参数异常统计
 *
 * */
export const get_exception_data = (params = {}) => {
    return getData("/api/Cockpit/GetExceptionData", "POST", params, "data")
}


/**
 * /api/Cockpit/GetDeviceStatusInfo 设备运行状态 按小时 线形图
 *
 * */
export const get_device_status_info = (params = {}) => {
    return getData("/api/Cockpit/GetDeviceStatusInfo", "POST", params, "params")
}

/**
 * /api/Cockpit/GetEquDetails 设备运行状态情况分布-电流电压对比分布图
 *
 * /api/Cockpit/GetHEquDetails 设备运行状态情况分布-电流电压对比分布图
 *
 * */
export const get_equ_details = (params = {}) => {
    return getData("/api/Cockpit/GetHEquDetails", "POST", params, "params")
}

/**
 * /api/Cockpit/GetEquRunDetals 设备运行状态情况分布
 *
 * */
export const get_device_details = (params = {}) => {
    return getData("/api/Cockpit/GetEquRunDetals", "POST", params, "params")
}

/**
 * /api/Cockpit/GetDeviceStatusInfoByUeCode 设备运行状态=&gt;单个设备运行切片图
 *
 * */
export const get_device_status_info_by_code = (params = {}) => {
    return getData("/api/Cockpit/GetDeviceStatusInfoByUeCode", "POST", params, "params")
}
